<?php

class Api_Bootstrap extends Zend_Application_Module_Bootstrap
{
	protected function _initRestRoute() {
		$frontController = Zend_Controller_Front::getInstance();
		$restRoute = new Zend_Rest_Route($frontController, array(), array('api'));
		$router = $frontController->getRouter();

		$router->addRoute('rest', $restRoute);
	}
}
